#include <stdio.h>
#include <string.h>
#include <sys/socket.h>
#include <netdb.h>

int ConnectToHost(const char *hostname, const char *port);
bool ReadFromSocket(int sock, unsigned char *dest, unsigned size);
unsigned SwapEndian(unsigned *orig);
